package com.elmcode.server.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.elmcode.common.utils.PageUtils;
import com.elmcode.server.dto.CustomerSaveInfo;
import com.elmcode.server.entity.CustomerEntity;
import com.elmcode.server.vo.UserVo;

import java.util.Map;

/**
 * 顾客表
 *
 * @author laozj
 * @email laozj@elm.com
 * @date 2024-06-13 13:05:04
 */
public interface CustomerService extends IService<CustomerEntity> {

    PageUtils queryPage(Map<String, Object> params);

    Map<String,Object> login(String loginName, String password);

    void saveCustomer(CustomerSaveInfo customerSaveInfo);

    CustomerEntity getCustomerByConsignee(String consignee);
}

